package com.xxx.proj.nacosconsumer.feign;

import com.xxx.proj.nacosconsumer.feign.fb.ProviderFeignFall;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "nacos-provider", fallback = ProviderFeignFall.class)
public interface ProviderFeign {
    @RequestMapping("/hello")
    public String hello();
}
